﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class XSS_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string url = "http://localhost:16274/" + HttpUtility.UrlEncode("原理解密") + "/XSS/ICBCSite.aspx?Msg=";
            url+=HttpUtility.UrlEncode("<script type='text/javascript'>alert('a')</script>'");
            //this.HyperLink1.NavigateUrl = url;
            this.HyperLink1.NavigateUrl = "~/XSS/ICBCSite.aspx";
        }
    }
}